package com.demandbreakdown.xiyun.model.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 用户登录DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "用户登录DTO")
public class UserLoginDTO {

    @Schema(description = "用户账号", example = "testuser")
    @NotBlank(message = "该字段不能为空")
    private String userAccount;

    @Schema(description = "用户密码")
    @NotBlank(message = "该字段不能为空")
    private String userPassword;
}
